[INFO] cloning repository https://github.com/chickenchickenlove/programming-rust-book-study
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chickenchickenlove/programming-rust-book-study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchickenchickenlove%2Fprogramming-rust-book-study", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchickenchickenlove%2Fprogramming-rust-book-study'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d347947c425666f500e4799529e894a30a41da61
[INFO] fixing chickenchickenlove/programming-rust-book-study against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchickenchickenlove%2Fprogramming-rust-book-study" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/chickenchickenlove/programming-rust-book-study
[INFO] finished tweaking git repo https://github.com/chickenchickenlove/programming-rust-book-study
[INFO] tweaked toml for git repo https://github.com/chickenchickenlove/programming-rust-book-study written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/chickenchickenlove/programming-rust-book-study on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/chickenchickenlove/programming-rust-book-study already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] babd56d0fc16e73b3d6bdfc19464b99f2b3f27523dd4313a282045c0b3ec2075
[INFO] running `Command { std: "docker" "start" "babd56d0fc16e73b3d6bdfc19464b99f2b3f27523dd4313a282045c0b3ec2075", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "babd56d0fc16e73b3d6bdfc19464b99f2b3f27523dd4313a282045c0b3ec2075" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "babd56d0fc16e73b3d6bdfc19464b99f2b3f27523dd4313a282045c0b3ec2075", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "babd56d0fc16e73b3d6bdfc19464b99f2b3f27523dd4313a282045c0b3ec2075" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]     Checking programming-rust-book-study v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] error: expected one of `!` or `::`, found `<eof>`
[INFO] [stdout]   --> src/chapter11/type_refered_function.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | Y
[INFO] [stdout]    | ^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `trait_and_self::Concat` is not dyn compatible
[INFO] [stdout]   --> src/chapter11/trait_and_self.rs:25:22
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn concat_do_do(s1: &dyn Concat, s2: &dyn Concat) {
[INFO] [stdout]    |                      ^^^^^^^^^^ `trait_and_self::Concat` is not dyn compatible
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout]       for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/chapter11/trait_and_self.rs:6:29
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub trait Concat {
[INFO] [stdout]    |           ------ this trait is not dyn compatible...
[INFO] [stdout]  6 |     fn concat(&self, other: &Self) -> &Self;
[INFO] [stdout]    |                             ^^^^^     ^^^^^ ...because method `concat` references the `Self` type in its return type
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             ...because method `concat` references the `Self` type in this parameter
[INFO] [stdout]    = help: consider moving `concat` to another trait
[INFO] [stdout]    = help: the following types implement `trait_and_self::Concat`:
[INFO] [stdout]              chapter11::trait_and_self::S1
[INFO] [stdout]              chapter11::trait_and_self::S2
[INFO] [stdout]            consider defining an enum where each variant holds one of these types,
[INFO] [stdout]            implementing `trait_and_self::Concat` for this new enum and using it instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `trait_and_self::Concat` is not dyn compatible
[INFO] [stdout]   --> src/chapter11/trait_and_self.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     concat_do_do(&s1, &s2);
[INFO] [stdout]    |                  ^^^ `trait_and_self::Concat` is not dyn compatible
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout]       for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/chapter11/trait_and_self.rs:6:29
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub trait Concat {
[INFO] [stdout]    |           ------ this trait is not dyn compatible...
[INFO] [stdout]  6 |     fn concat(&self, other: &Self) -> &Self;
[INFO] [stdout]    |                             ^^^^^     ^^^^^ ...because method `concat` references the `Self` type in its return type
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             ...because method `concat` references the `Self` type in this parameter
[INFO] [stdout]    = help: consider moving `concat` to another trait
[INFO] [stdout]    = help: the following types implement `trait_and_self::Concat`:
[INFO] [stdout]              chapter11::trait_and_self::S1
[INFO] [stdout]              chapter11::trait_and_self::S2
[INFO] [stdout]            consider defining an enum where each variant holds one of these types,
[INFO] [stdout]            implementing `trait_and_self::Concat` for this new enum and using it instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/chapter11/bound_reverse.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn dot2<N>(v1: &[N], v2: &[N]) -> N
[INFO] [stdout]    |         - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 19 |     let mut total: N = 0;
[INFO] [stdout]    |                    -   ^ expected type parameter `N`, found integer
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    expected due to this
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type parameter `N`
[INFO] [stdout]                         found type `{integer}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `programming-rust-book-study` (bin "programming-rust-book-study" test) due to 6 previous errors
[INFO] [stdout] error[E0369]: cannot multiply `N` by `N`
[INFO] [stdout]   --> src/chapter11/bound_reverse.rs:21:31
[INFO] [stdout]    |
[INFO] [stdout] 21 |         total = total + v1[i] * v2[i];
[INFO] [stdout]    |                         ----- ^ ----- N
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         N
[INFO] [stdout]    |
[INFO] [stdout] help: consider further restricting type parameter `N` with trait `Mul`
[INFO] [stdout]    |
[INFO] [stdout] 16 |     where N: Copy + std::ops::Mul
[INFO] [stdout]    |                   +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/chapter11/bound_reverse.rs:31:24
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn dot3<N>(v1: &[N], v2: &[N]) -> N
[INFO] [stdout]    |         - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 31 |     let mut total: N = 0;
[INFO] [stdout]    |                    -   ^ expected type parameter `N`, found integer
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    expected due to this
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type parameter `N`
[INFO] [stdout]                         found type `{integer}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0038, E0308, E0369.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0038`.
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!` or `::`, found `<eof>`
[INFO] [stdout]   --> src/chapter11/type_refered_function.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | Y
[INFO] [stdout]    | ^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `trait_and_self::Concat` is not dyn compatible
[INFO] [stdout]   --> src/chapter11/trait_and_self.rs:25:22
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn concat_do_do(s1: &dyn Concat, s2: &dyn Concat) {
[INFO] [stdout]    |                      ^^^^^^^^^^ `trait_and_self::Concat` is not dyn compatible
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout]       for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/chapter11/trait_and_self.rs:6:29
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub trait Concat {
[INFO] [stdout]    |           ------ this trait is not dyn compatible...
[INFO] [stdout]  6 |     fn concat(&self, other: &Self) -> &Self;
[INFO] [stdout]    |                             ^^^^^     ^^^^^ ...because method `concat` references the `Self` type in its return type
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             ...because method `concat` references the `Self` type in this parameter
[INFO] [stdout]    = help: consider moving `concat` to another trait
[INFO] [stdout]    = help: the following types implement `trait_and_self::Concat`:
[INFO] [stdout]              chapter11::trait_and_self::S1
[INFO] [stdout]              chapter11::trait_and_self::S2
[INFO] [stdout]            consider defining an enum where each variant holds one of these types,
[INFO] [stdout]            implementing `trait_and_self::Concat` for this new enum and using it instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `trait_and_self::Concat` is not dyn compatible
[INFO] [stdout]   --> src/chapter11/trait_and_self.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     concat_do_do(&s1, &s2);
[INFO] [stdout]    |                  ^^^ `trait_and_self::Concat` is not dyn compatible
[INFO] [stdout]    |
[INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable
[INFO] [stdout]       for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/chapter11/trait_and_self.rs:6:29
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub trait Concat {
[INFO] [stdout]    |           ------ this trait is not dyn compatible...
[INFO] [stdout]  6 |     fn concat(&self, other: &Self) -> &Self;
[INFO] [stdout]    |                             ^^^^^     ^^^^^ ...because method `concat` references the `Self` type in its return type
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             ...because method `concat` references the `Self` type in this parameter
[INFO] [stdout]    = help: consider moving `concat` to another trait
[INFO] [stdout]    = help: the following types implement `trait_and_self::Concat`:
[INFO] [stdout]              chapter11::trait_and_self::S1
[INFO] [stdout]              chapter11::trait_and_self::S2
[INFO] [stdout]            consider defining an enum where each variant holds one of these types,
[INFO] [stdout]            implementing `trait_and_self::Concat` for this new enum and using it instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/chapter11/bound_reverse.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn dot2<N>(v1: &[N], v2: &[N]) -> N
[INFO] [stdout]    |         - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 19 |     let mut total: N = 0;
[INFO] [stdout]    |                    -   ^ expected type parameter `N`, found integer
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    expected due to this
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type parameter `N`
[INFO] [stdout]                         found type `{integer}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: cannot multiply `N` by `N`
[INFO] [stdout]   --> src/chapter11/bound_reverse.rs:21:31
[INFO] [stdout]    |
[INFO] [stdout] 21 |         total = total + v1[i] * v2[i];
[INFO] [stdout]    |                         ----- ^ ----- N
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         N
[INFO] [stdout]    |
[INFO] [stdout] help: consider further restricting type parameter `N` with trait `Mul`
[INFO] [stdout]    |
[INFO] [stdout] 16 |     where N: Copy + std::ops::Mul
[INFO] [stdout]    |                   +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/chapter11/bound_reverse.rs:31:24
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn dot3<N>(v1: &[N], v2: &[N]) -> N
[INFO] [stdout]    |         - expected this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 31 |     let mut total: N = 0;
[INFO] [stdout]    |                    -   ^ expected type parameter `N`, found integer
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    expected due to this
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type parameter `N`
[INFO] [stdout]                         found type `{integer}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0038, E0308, E0369.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0038`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `programming-rust-book-study` (bin "programming-rust-book-study") due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "babd56d0fc16e73b3d6bdfc19464b99f2b3f27523dd4313a282045c0b3ec2075", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "babd56d0fc16e73b3d6bdfc19464b99f2b3f27523dd4313a282045c0b3ec2075", kill_on_drop: false }`
[INFO] [stdout] babd56d0fc16e73b3d6bdfc19464b99f2b3f27523dd4313a282045c0b3ec2075
